public class Task {

    public static void main(String[] args) {
        int money = 10;
        int total = drink(money, 0, 0);
        System.out.println(money + "元可以喝" + total + "瓶");
    }

    /**
     * 啤酒问题
     * @param money 剩余的钱
     * @param battles 剩余的空瓶
     * @param caps 剩余的瓶盖
     * @return 喝的啤酒数
     */
    public static int drink(int money, int battles, int caps) {
        return 0;
    }
    
}